home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4427 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1000 b 

  1. Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
  2. From: Dan Pop <danpop@mail.cern.ch>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Can main() function be called?
  5. Date: Sun, 4 Feb 1996 16:46:41 +0100
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <9602041546.AA18178@dxmint.cern.ch>
  8. References: <823183263.118@fountain.demon.co.uk> <4f1mv0$2fd@cloner4.netcom.com>
  9. X-NNTP-Posting-Host: hpl3sn03.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11. X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
  12.  
  13. rozen@ix.netcom.com (Mike Rosenblyum ) writes:
  14.  
  15. >I think that it cannot be done, I see no reasonalbe way how main()
  16. >could be called more than once.
  17. >
  18. >
  19. >   What is your thoughts on this?
  20.  
  21. That you should have a look at the IOCCC archive:
  22. http://reality.sgi.com/csp/ioccc/years.html#all
  23.  
  24. But I tend to agree: I don't see any _sensible_ reason to call main() in 
  25. a C program.
  26.  
  27. Dan
  28. -- 
  29. Dan Pop
  30. CERN, CN Division
  31. Email: danpop@mail.cern.ch 
  32. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  33.